package net.csdn.business.mirror.service;

import net.csdn.business.mirror.entity.bean.GithubToken;
import org.kohsuke.github.GitHub;

import java.util.List;

public interface GithubTokenService {

    List<GithubToken> getAllToken();

    void deleteAllToken();

    void saveToken(List<String> tokens);

    void deleteToken(List<String> tokens);

    GitHub getGithubClient();

    GitHub getGithubClient(List<GithubToken> tokens);

}
